<%@tag language="java" pageEncoding="UTF-8"%>
<%@tag import="fr.inserm.u915.organifooyi.model.OrganiFooyiDao"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="u" tagdir="/WEB-INF/tags" %>
<%@attribute name="receptions" required="true" rtexprvalue="true" type="java.util.Collection"%>
<table class="entityList">
	<thead>
		<tr>
			<th>CD-Number</th>
			<th>Date</th>
			<th>Count</th>
			<th>Comment</th>
			<th>Creator</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="reception" items="${receptions}">
			<tr>
				<td>
					<u:reception-href reception="${reception}"/>
				</td>
				<td>${reception.dateReception}</td>
				<td>${reception.countInit}</td>
				<td>
					<c:out value="${reception.commentaire}" escapeXml="true"/>
				</td>
				<td>
					<u:user-href user="${reception.createdBy}"/>
				</td>
			</tr>
		</c:forEach>
	</tbody>
</table>